package com.ctshk.rpc.finance.dto.advance;

import com.ctshk.rpc.finance.json.FileJson;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 退预收详情Dto
 */
@Data
@ApiModel(value = "AdvancePaymentRefundDTO",description = "退预收详情Dto")
public class AdvancePaymentRefundDTO implements Serializable {

    @ApiModelProperty(value = "退预收金额")
    private BigDecimal refundMoneyAmount;

    @ApiModelProperty(value = "不可用金额")
    private BigDecimal refundUnavailableAmount;

    @ApiModelProperty(value = "可用金额")
    private BigDecimal refundAvailableAmount;

    @ApiModelProperty(value = "币种")
    private String currency;

    @ApiModelProperty(value = "汇率")
    private Double exchangeRate;

    @ApiModelProperty(value = "退款方式名称")
    private String refundMethodName;

    @ApiModelProperty(value = "退款时间")
    private LocalDateTime refundTime;

    @ApiModelProperty(value = "销账说明")
    private String explains;

    @ApiModelProperty(value = "退款账户")
    private String refundAccount;

    @ApiModelProperty(value = "附件")
    private String fileJson;

    @ApiModelProperty(value = "审批状态")
    private Integer approvalStatus;

    @ApiModelProperty(value = "审批id")
    private Long approvalId;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "供应商名称")
    private String supplierName;

    @ApiModelProperty(value = "供应商联系人")
    private String supplierContacts;

    @ApiModelProperty(value = "供应商联系电话")
    private String supplierTelephone;

    @ApiModelProperty(value = "供应商联系邮箱")
    private String supplierEmail;

    @ApiModelProperty(value = "供应商地址")
    private String supplierAddress;

    @ApiModelProperty(value = "供应商银行名称")
    private String supplierBankName;

    @ApiModelProperty(value = "供应商银行卡号")
    private String supplierBankCard;

    @ApiModelProperty(value = "汇总币种ID")
    private Long currencyId;

    @ApiModelProperty(value = "汇总币种")
    private String sumCurrency;

    @ApiModelProperty(value = "汇总汇率")
    private Double sumExchangeRate;

    @ApiModelProperty(value = "汇总预收金额")
    private BigDecimal moneyAmount;

    @ApiModelProperty(value = "申请人")
    private String applier;

    @ApiModelProperty(value = "申请人部门名称")
    private String deptName;

    @ApiModelProperty(value = "附件")
    private List<FileJson> fileJsonList;

}
